package com.llxy.worker.domain;


import com.llxy.common.core.domain.BaseEntity;

import java.io.Serializable;


public class School extends BaseEntity implements Serializable {
    private Integer id;

    /**
    * 学校简介
    */
    private String intro;

    /**
    * 学校动态
    */
    private String trends;

    /**
    * 优秀学员
    */
    private String student;

    /**
    * 地区
    */
    private String address;

    /**
    * 联系电话
    */
    private String phone;

    /**
    * 培训组织名称
    */
    private String name;

    /**
    * 培训组织头像
    */
    private String avatar;

    private Long userId;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro == null ? null : intro.trim();
    }

    public String getTrends() {
        return trends;
    }

    public void setTrends(String trends) {
        this.trends = trends == null ? null : trends.trim();
    }

    public String getStudent() {
        return student;
    }

    public void setStudent(String student) {
        this.student = student == null ? null : student.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar == null ? null : avatar.trim();
    }



    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", intro=").append(intro);
        sb.append(", trends=").append(trends);
        sb.append(", student=").append(student);
        sb.append(", address=").append(address);
        sb.append(", phone=").append(phone);
        sb.append(", name=").append(name);
        sb.append(", avatar=").append(avatar);
        sb.append(", createBy=").append(getCreateBy());
        sb.append(", createTime=").append(getCreateTime());
        sb.append(", updateBy=").append(getUpdateBy());
        sb.append(", updateTime=").append(getUpdateTime());
        sb.append("]");
        return sb.toString();
    }
}